﻿using System;
using System.Windows;

namespace Pfz.WpfControls
{
	/// <summary>
	/// Class used when an exception is thrown during the user-change of a value control value.
	/// </summary>
	public class ValueExceptionEventArgs:
		RoutedEventArgs
	{
		/// <summary>
		/// Gets or sets the exception that caused the error.
		/// Modify it only if you want to add extra information.
		/// </summary>
		public Exception Exception { get; set; }
	}
}
